import React, { Component } from 'react';
import {
    Platform,
    StyleSheet,
    Text,
    View,
    Button
} from 'react-native';
import {FLAG_LANGUAGE} from '../../expand/dao/LanguageDao';
export default class mine extends Component {
    render(){
        const {navigation} = this.props;
        return (
            <View>
                <Text onPress={()=>{
                    navigation.navigate('CustomKeyPage',
                        {fatherParams:{
                            ...this.props,
                            flag:FLAG_LANGUAGE.flag_key
                        }
                    })
                }}>自定义标签</Text>
                <Text onPress={()=>{
                    navigation.navigate('CustomKeyPage',{fatherParams:{...this.props,flag:FLAG_LANGUAGE.flag_language}})
                }}>自定义语言</Text>
            </View>
        )
    }
}